﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace VRM2CustomControls
{
  public class selectSwitch : Control
  {
    public static readonly DependencyProperty lblTextProperty;
    public static readonly DependencyProperty isCheckedProperty;

    static selectSwitch()
    {
      DefaultStyleKeyProperty.OverrideMetadata(typeof(selectSwitch), new FrameworkPropertyMetadata(typeof(selectSwitch)));
      lblTextProperty = DependencyProperty.Register("lblText", typeof(string), typeof(selectSwitch), new UIPropertyMetadata(null));
      isCheckedProperty = DependencyProperty.Register("isChecked", typeof(Boolean), typeof(selectSwitch), new UIPropertyMetadata(null));

    }

    public string lblText
    {
      get { return (string)GetValue(lblTextProperty); }
      set { SetValue(lblTextProperty, value); }
    }

    public Boolean isChecked
    {
      get { return (Boolean)GetValue(lblTextProperty); }
      set { SetValue(lblTextProperty, value); }
    }
  }
}
